package Observer_Pattern.school;



// -*-coding:utf-8 -*-
//人员：刘陆鑫
//班级：19软3
//学号；2019110218
public class ConcreteAbstract extends AbstractTraget {
    @Override
    public void change(String systenname) {
        for(Object obs: number){
            ((Observe)obs).setSystem_name(systenname);
            System.out.println("改变为"+((Observe)obs).getSystem_name()+((Observe)obs).getWork_name());
        }
    }
}
